//
//  DCStatusView.h
//  Demo
//
//  Created by zhaolin on 2023/2/3.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef enum : NSUInteger {
    DCStatusViewLoading,
    DCStatusViewNoData,
    DCStatusViewNoDataCanClick, // 无数据有点击回调
} DCStatusViewType;
typedef void(^DCStatusViewBlock)(void);

@interface DCStatusView : UIView
- (instancetype)initWithFrame:(CGRect)frame type:(DCStatusViewType)type;
/**
 TODO:设置描述

 @param desString 描述文本
 */
- (void)setLabelDes:(NSString *)desString;

@end

NS_ASSUME_NONNULL_END
